﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace WebUI.Models.Tables
{
    [Table("Articles")]
    public partial class Article : BaseModel
    {
        /// <summary>
        /// 文章分类
        /// </summary>
        [Column, DisplayName("文章分类")]
        public int CatID { get; set; }
        /// <summary>
        /// 文章名称
        /// </summary>
        [Column, DisplayName("文章名称")]
        public string Title { get; set; }
        /// <summary>
        /// 自定义属性
        /// </summary>
        [Column, DisplayName("自定义属性")]
        public string Defined { get; set; }
        /// <summary>
        /// 文章描述
        /// </summary>
        [Column, DisplayName("文章描述")]
        public string Content { get; set; }
        /// <summary>
        /// 配图
        /// </summary>
        [Column, DisplayName("配图")]
        public string MainImage { get; set; }
        /// <summary>
        /// 关键字
        /// </summary>
        [Column, DisplayName("关键字")]
        public string Keywords { get; set; }
        /// <summary>
        /// 点击数
        /// </summary>
        [Column, DisplayName("点击数")]
        public int Clicks { get; set; }
        /// <summary>
        /// 简单描述
        /// </summary>
        [Column, DisplayName("简单描述")]
        public string Description { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        [Column, DisplayName("排序")]
        public int HomeSort { get; set; }
    }
}